<template>
    <div>
        <h2>App</h2>
        <hr/>
        <Child :num="num" @click.native="num=num+=1"></Child>
    </div>
</template>
<script>
import Child from "@/components/Child.vue";
export default {
    name:"App",
    components:{
        Child
    },
    data(){
        return {
            num:0
        }
    },
    methods:{

    }
}
</script>
<style lang="less">

</style>
